package com.xiaoshuidi.cloud.module.report.service.datamanage;

import com.xiaoshuidi.cloud.module.report.controller.datamanage.vo.*;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * 租约分析
 */
public interface LeaseAnalysisService {

    /**
     * 租赁合同分析
     *
     * @param vo
     * @return
     */
    List<LeaseContractAnalysisRespVO> leaseContractAnalysis(LeaseAnalysisReqVO vo);

    /**
     * 租客签约分析
     *
     * @param vo
     * @return
     */
    LeaseSignContractRespVO leaseSignContractsAnalysis(LeaseAnalysisReqVO vo);


    /**
     * 租客签约分析 -> 租期时长
     *
     * @param vo
     * @return
     */
    LinkedHashMap<String, Long> leasePeriodAnalysis(LeaseAnalysisReqVO vo);

    /**
     * 租客签约分析 -> 年龄分布
     *
     * @param vo
     * @return
     */
    LinkedHashMap<String, Long> leaseAgeAnalysis(LeaseAnalysisReqVO vo);

    /**
     * 业主合同分析
     *
     * @return
     */
    List<OwnerContractAnalysisRespVO> ownerContractAnalysis(OwnerAnalysisReqVO vo);

    /**
     * 业主签约分析
     *
     * @return
     */
    OwnersSignContractRespVO ownersSignContractsAnalysis(OwnerAnalysisReqVO vo);


    /**
     * 业主年龄分析
     *
     * @return
     */
    LinkedHashMap<String, Long> ownersAgeAnalysis(OwnerAnalysisReqVO vo);


    /**
     * 业主租期时长分析
     *
     * @return
     */
    LinkedHashMap<String, Long> ownersPeriodAnalysis(OwnerAnalysisReqVO vo);
}
